﻿@using Login.OSIRISService

@if(Request.IsAuthenticated) {
    string name = "";
    if (Session["Details"] != null)
    {
        ContactDetails gegevens = Session["Details"] as ContactDetails;
        name += gegevens.FirstName;
        if (gegevens.Prefix != null && gegevens.Prefix.Length > 0)
        {
            name += " " + gegevens.Prefix;
        }
        name += " " + gegevens.LastName;
    }
    
    <text>Welkom <strong>@name</strong>!
    [ @Html.ActionLink("Uitloggen", "Logoff", "Login") ]</text>
}
